﻿{include file='templates/admin/include_header.php'}
<h1>
    <a href="{base_admin_url()}"><i class="icon-arrow-left-3 fg-darker smaller"></i></a>
    Quản Lý<small class="on-right">Truyện Vova</small>
</h1>
<div class="grid">
    <div class="row">
        {include file='admin/vova/menu.php'}

        <div class="span9">
            <h2 id="_default"><i class="icon-accessibility on-left"></i>{$act_title}</h2>
            <div class="example">
                {form_open('admin/vovaad/insert')}
                    <fieldset>
                        <legend>Truyện Vôva</legend>
                        {include file='admin/layout/error.php'}
                        <lable>Tiêu đề</lable>
                        <div class="input-control text" data-role="input-control">
                            <input type="text" placeholder="Tiêu đề truyện" name="title" value="{set_value('title')}">
                            <button class="btn-clear" tabindex="-1"></button>
                        </div>
                        <lable>Nội dung</lable>
                        <div class="input-control textarea" data-role="input-control">
                            <textarea name="content" style="height:300px;" placeholder="Nội dung truyện">{set_value('content')}</textarea>
                        </div>
                        <lable>Nhân vật gồm</lable>
                        <div class="input-control text" data-role="input-control">
                            <input type="text" placeholder="Tên các nhân vật" name="character" value="{set_value('character')}">
                            <button class="btn-clear" tabindex="-1"></button>
                        </div>

                        <input type="hidden" name="id" value="{$id}">
                        <input type="submit" name="submit" value="{$act_title}">
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
{include file='templates/admin/include_footer.php'}